package com.evildog.workspace.log.api.feign;

import com.evildog.workspace.common.result.Result;
import com.evildog.workspace.log.api.model.ExceptionLogParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* <p>
* exceptionLog feign
* </p>
*
* @author evildog
* @since 2020-08-29
*/
@FeignClient(
	contextId = "exception-log",
	value = "log"
)
public interface ExceptionLogClient {

	String API_PREFIX = "/exception-log";

	@PostMapping(API_PREFIX)
	@ApiOperation(value = "添加接口")
	Result<Boolean> save(@RequestBody ExceptionLogParam exceptionLogParam);
}